import request from "@/utils/request";
export function selectBankList(data) {
  return request({
    url: "/smkapi/payment/selectBankList",
    method: "post",
    data
  });
}
export function addBankInfo(data) {
  return request({
    url: "/smkapi/payment/addBankInfo",
    method: "post",
    data
  });
}
export function editBankInfo(data) {
  return request({
    url: "/smkapi/payment/editBankInfo",
    method: "post",
    data
  });
}
export function delBankInfo(data) {
  return request({
    url: "/smkapi/payment/delBankInfo",
    method: "post",
    data
  });
}
//设置线上支付线下支付
export function changeOnlineStatus(data) {
  return request({
    url: "/smkapi/payment/changeOnlineStatus",
    method: "post",
    data
  });
}
//线上支付失败列表
export function getFailList(data) {
  return request({
    url: "/smkapi/Onlinepay/getFailList",
    method: "post",
    data
  });
}
//修改付款失败付款单 付款账户
export function smkFailChangeBank(data) {
  return request({
    url: "/smkapi/statement/FailChangeBank",
    method: "post",
    data
  });
}
//获取企业银行列表
export function onlinelist(data) {
  return request({
    url: "api/payment/onlinelist",
    method: "post",
    data
  });
}
//获取省份
export function selectBankProvince(data) {
  return request({
    url: "api/select/selectBankProvince",
    method: "post",
    data
  });
}
// export function binkSupplier(data) {
//   return request({
//     url: "smkapi/payment/binkSupplier",
//     method: "post",
//     data
//   });
// }
// export function getBinkSupplierList(data) {
//   return request({
//     url: "smkapi/payment/getBinkSupplierList",
//     method: "post",
//     data
//   });
// }
export function getSupplierClassList(data) {
  return request({
      url: 'api/select/getSupplierClassList',
      method: 'post',
      data
  })
}
export function binkSupplierClass(data) {
  return request({
      url: 'smkapi/Payment/binkSupplierClass',
      method: 'post',
      data
  })
}
export function getBinkSupplierClassList(data) {
  return request({
      url: 'smkapi/Payment/getBinkSupplierClassList',
      method: 'post',
      data
  })
}